package com.base.common.edu.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author Maple.Chen
 * @Description 学生选修在授课实体
 * @Date 19:46 2021/1/30
 **/
@Data
@ApiModel(description = "学生选修在授课实体")
@JsonIgnoreProperties(value = {"handler"})
public class StuScore implements Serializable {

    private static final long serialVersionUID = -5235138478421368905L;
    @ApiModelProperty( value = "学生id")
    private String stuId;
    @ApiModelProperty( value = "成绩对应的在授课程")
    private ValidCourse validCourse;
    @ApiModelProperty( value = "期末分数")
    private Integer termScore;
    @ApiModelProperty( value = "最后修改时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;
    @ApiModelProperty( value = "成绩对应的学生实体")
    private Student student;

}
